package com.ztgf.commodity.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.commodity.models.dto.CommodityCategoryParamRelationDTO;
import com.ztgf.commodity.models.vo.CommodityCategoryParamRelationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品分类参数关系表映射
 *
 * @author chenyu.wang
 * @Date 2020-06-15 10:30:06
 */
@Mapper
public interface CommodityCategoryParamRelationMapper extends BaseMapper<CommodityCategoryParamRelationDTO> {

    /**
     * description: 根据顶级分类id获取商品参数信息
     * param: [categoryId]
     * author: chenyu.wang
     * date: 2020-06-15
     * return: java.util.List<com.ztgf.commodity.models.vo.CommodityCategoryParamRelationVO>
     */
    List<CommodityCategoryParamRelationVO> queryCategoryParamList(@Param("categoryId") Long categoryId, @Param("brandId") Long brandId, @Param("filterName") String filterName);
}
